<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="Backup Fails After the SAP HANA Database Is Re-registered as a General Database">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="en-us_topic_0000002164828418.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="EN-US_TOPIC_0000002200069445">
<meta name="DC.Language" content="en-us">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>Backup Fails After the SAP HANA Database Is Re-registered as a General Database</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="EN-US_TOPIC_0000002200069445"></a><a name="EN-US_TOPIC_0000002200069445"></a>

<h1 class="topictitle1">Backup Fails After the SAP HANA Database Is Re-registered as a General Database</h1>
<div><div class="section"><h4 class="sectiontitle">Symptom</h4><p>After the SAP HANA database is registered as an application to perform backup, the database backup mode is configured to the Backint mode. If the database is re-registered as a general database, the file mapping is incorrect and the backup fails.</p>
</div>
<div class="section"><h4 class="sectiontitle">Possible Cause</h4><p>The configuration items of Backint are not cleared.</p>
</div>
<div class="section"><h4 class="sectiontitle">Procedure</h4><ol><li id="EN-US_TOPIC_0000002200069445__li1474324051518"><a name="EN-US_TOPIC_0000002200069445__li1474324051518"></a><a name="li1474324051518"></a><span>Use PuTTY to log in to the host where the SAP HANA database resides. The following uses a single-node database as an example.</span></li><li><span>Run the following command to switch to the SAP system user <em>&lt;sid&gt;</em><strong>adm</strong>. The username <strong>s00adm</strong> is used as an example.</span><p><pre class="screen">su - s00adm</pre>
</p></li><li><span>Run the following command to log in to the terminal system of the SAP HANA system database. Port <strong>30013</strong> is used as an example.</span><p><pre class="screen">hdbsql -i 00 -n localhost:30013 -d SYSTEMDB -u SYSTEM -p <em>Password customized by the user during database installation</em></pre>
</p></li><li><span>Run the following command to disable the configuration items of Backint:</span><p><pre class="screen">alter system alter configuration ('global.ini', 'SYSTEM') set ('backup', 'catalog_backup_using_backint') = 'false';
alter system alter configuration ('global.ini', 'SYSTEM') set ('backup', 'log_backup_using_backint') = 'false';</pre>
</p></li><li><span>After logging out of the database terminal, run the following command to delete the content related to the Backint mode in the database installation path. The <span class="filepath"><b>/home/hana/shared/S00/</b></span> path is used as an example.</span><p><pre class="screen">rm -rf /home/hana/shared/S00/global/hdb/opt/*</pre>
</p></li><li><span>If a tenant database exists, run the following command to open the <strong>global.ini</strong> file of the tenant database. The <strong>LTT</strong> database is used as an example.</span><p><pre class="screen">vi /home/hana/shared/S00/global/hdb/custom/config/DB_LTT/global.ini</pre>
</p></li><li><span>Set <strong>catalog_backup_using_backint</strong> to <strong>false</strong>.</span><p><p>The following is an example of the command output:</p>
<p><span><img src="en-us_image_0000002164828490.png"></span></p>
</p></li><li><span>Run the following command to stop the system database:</span><p><pre class="screen">HDB stop</pre>
</p></li><li id="EN-US_TOPIC_0000002200069445__li14341174571816"><a name="EN-US_TOPIC_0000002200069445__li14341174571816"></a><a name="li14341174571816"></a><span>Run the following command to start the system database:</span><p><pre class="screen">HDB start</pre>
</p></li><li><span>Log in to the active and standby nodes of the SAP HANA cluster and perform the operations from <a href="#EN-US_TOPIC_0000002200069445__li1474324051518">1</a> to <a href="#EN-US_TOPIC_0000002200069445__li14341174571816">9</a> again.</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000002164828418.html">FAQs</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">Copyright &copy; Huawei Technologies Co., Ltd.</div></body>
</html>